package com.cds.alert.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.cds.alert.dao.AlertSysOwnerMapper;
import com.cds.alert.pojo.AlertSysOwner;
import com.cds.alert.service.AlertSysOwnerService;

@Service("alertSysOwnerService")
public class AlertSysOwnerServiceImpl implements AlertSysOwnerService {
	
	@Autowired
	private AlertSysOwnerMapper alertSysOwnerMapper;
	
	@Transactional(readOnly = false, propagation = Propagation.REQUIRED, rollbackFor = { Exception.class })
	public void insert(AlertSysOwner entiry) {
		alertSysOwnerMapper.insert(entiry);
	}

}
